package com.cqjtu.tto.service;

import com.cqjtu.tto.vo.Results;
import com.cqjtu.tto.vo.params.FileParam;

import java.io.File;
import java.io.InputStream;

public interface FileService {

    Results uploadFile(FileParam fileParam, InputStream inputStream) throws Exception ;

    Results uploadFile(FileParam fileParam, File file) throws Exception;

}
